home *** CD-ROM | disk | FTP | other *** search
/ The Utilities Experience / The Utilities Experience - Volume 1.iso / software / graphics / n-z / raystorexa / arexx / backdrop.ray < prev    next >
Text File  |  1995-11-05  |  907b  |  51 lines

  1. /***************
  2.  * NAME:          backdrop.ray
  3.  * VERSION:       1.0 16.08.1995
  4.  * DESCRIPTION:   Test of backdroppicture
  5.  * AUTHORS:       Andreas Heumann
  6.  * BUGS:          none
  7.  * TO DO:         none
  8.  * HISTORY:
  9.  *    DATE     NAME  COMMENT
  10.  *    16.08.95 ah    initial release
  11.  ***************/
  12.  
  13. signal on error
  14.  
  15. options results
  16.  
  17. IF ~show('P','RAYSTORM') THEN DO
  18.    address COMMAND 'run >NIL: <NIL: /RayStorm'
  19.    address COMMAND WaitForPort RAYSTORM
  20. END  
  21.  
  22. address RAYSTORM
  23.  
  24. 'BRUSHPATH /brushes'
  25.  
  26. 'SETSCREEN 180 90'
  27. 'SETCAMERA <0,0,-5> <0,0,0> <0,1,0> 90 45'
  28. 'SETWORLD [0,0,0] [100,100,100] BACKDROP=earth.iff'
  29. 'POINTLIGHT <5,5,-10> [255,255,255]'
  30.  
  31. 'NEWSURFACE MAP'
  32. 'BRUSH eight_brush.iff COLOR FLAT <0,0,0> <0,0,0> <1,1,1>'
  33.  
  34. 'SPHERE MAP <0,0,0> 1'
  35.  
  36. 'ANTIALIAS 2'
  37.  
  38. 'STARTRENDER QUICK'
  39.  
  40. 'SAVEPIC backdrop.iff'
  41.  
  42. 'CLEANUP'
  43.  
  44. exit 0
  45.  
  46. error:
  47. say "Error" rc "in line" sigl ":"
  48. GETERRORSTR rc
  49. say result
  50. exit 0
  51.